//package com.per.mybootall.controller;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import javax.websocket.OnOpen;
//import javax.websocket.server.ServerEndpoint;
//
//
//@Controller
//@ServerEndpoint(value = "websocket/chats")
//public class WebSocketController   {
////   @RequestMapping("/test")
////   @ResponseBody
////    public String open(){
////        System.out.println("fack");
////        return  "ssss";
////    }
//
//    @OnOpen
////    @RequestMapping("/sss")
//    @ResponseBody
//    public void sss(){
//        System.out.println("fack")
//
//    }
//
//
//}
